package com.eCommerce.server.corebackend.dao;

import java.util.List;
import java.util.Set;

import com.eCommerce.corecontract.criteria.CommandeCriteria;
import com.eCommerce.corecontract.dto.ClientDTO;
import com.eCommerce.corecontract.dto.CommandeDTO;
import com.eCommerce.corecontract.dto.UserDTO;
import com.eCommerce.corecontract.exception.EcommerceException;

public interface ICommandeDAO extends IDataAccessObject {
	Long insert(CommandeDTO commandeDTO) throws EcommerceException;

	void update(CommandeDTO commandeDTO) throws EcommerceException;

	void delete(CommandeDTO commandeDTO) throws EcommerceException;

	CommandeDTO findOne(CommandeDTO commandeDTO)throws EcommerceException;

	List find(CommandeCriteria commandeCriteria) throws EcommerceException;

	List findAll() throws EcommerceException;
	 List findCommandeByClient(UserDTO clientdto)	throws EcommerceException;
}
